<script type="text/javascript">
    var state={$row.state};
    var item_id='{$row.loan_id}';
</script>
<style>
    .text{color: blue;}
</style>
<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
    <div class="container">
        <div class="row">
            <div class="col col-xs-8">
                <table class="table table-border">
                    <tr>
                        <th style="width:80px">合同编号</th>
                        <td>
                             <span class="text">{$row.item_no}</span>
                        </td>
                        <th style="width:80px">
                           进度
                        </th>
                        <td>
                           <span class="text"> </span> <span  id="tdState"></span>
                        </td>
                    </tr>
                    <tr><th >买方</th>
                        <td>{$row.buyer_name} : {$row.buyer_mobile}</td>
                        <th>卖方</th>
                        <td>{$row.seller_name} : {$row.seller_mobile}</td>
                    </tr>
                    <tr>
                        <th>地址</th>
                        <td colspan="3">{$row.address}</td>
                    </tr>
                    <tr>
                        <th>总价</th><td>{$row.total_price} 万元</td>
                        <th>面积</th><td>{$row.area}平方米</td>
                    </tr>
                    <tr>
                        <th>贷款金额</th><td>{$row.loan_fee} 万元</td>
                        <th>首付款</th><td>{$row.down_payment} 万元</td>
                    </tr>
                    <tr>
                        <th>签字银行</th><td>{$bank.bank_name}</td>
                        <th>签字时间</th><td>{$row.sign_date}</td>
                    </tr>
                    <tr>
                        <th>评估公司</th><td colspan="3">{$assessment.assessment_name}</td>
                    </tr>
                    <tr>
                        <th>抵押时间</th><td>{$row.mortage_date}</td>
                        <th>放款时间</th><td>{$row.make_loan_date}</td>
                    </tr>
                    <tr>
                        <th>备注</th><td colspan="3">
                            {$row.mem}
                        </td>
                    </tr>
                </table>

            </div>
            <div class="col col-xs-4">

                <div class="panel panel-default">
                    <div class="panel-heading">跟进</div>
                    <div class="panel-body" style="height:450px" id="ulFollow">
                      
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8 text-right">
                <button type="button" class="btn btn-success btn-embossed" id="btnNewFollow">跟进</button>
        </div>
    </div> 
</form>